package at.fhj.itm11.forum.data;

import at.fhj.itm11.forum.model.Rating;

public interface RatingDAO {
	public Rating findById(Long id);
	
	public void rate(Rating r);
	
	public Rating findRatingByRaterAndPost(Long userId, Long postId);
	
	public Long findPositiveRatingCountForPost(Long postId);
	
	public Long findNegativeRatingCountForPost(Long postId);

}
